<?php

namespace app\api\validate;
use think\Validate;
/**
* 设置模型
*/
class Attentions extends Validate{

	protected $rule = array(
		'company_id'      		=> 'require',
		'time'      	=> 'require',
        'user_id'      		=> 'require',
        'group_id'      		=> 'require',
	);
	protected $message = array(
		'company_id.require'    		=> '公司id必须填写',
		'time.require'    	=> '时间必须填写',
        'user_id.require'    	=> '用户id必须填写',
        'group_id.require'    	=> '分组id必须填写',
	);
}